﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Kooboo.Commerce.Promotions.Cashback
{
  
        public class PluginMapper : IPluginMapper
        {
            public IEnumerable<KeyValuePair<Type, Func<object>>> Maps
            {
                get
                {

                    return new List<KeyValuePair<Type, Func<object>>>
                 {
                     new KeyValuePair<Type,Func<object>>(typeof(IPromotion),()=> new Promotion()),
                     new KeyValuePair<Type,Func<object>>(typeof(Context),()=> new Context())
                 };
                }
            }
        }
   
}